Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/global_det_units #581

Conversation

malloryprow
Copy link
Contributor

@malloryprow malloryprow commented Oct 3, 2024

Note to developers: You must use this PR template!

Description of Changes

This contains the fixes in #526 to a release branch for operations. Closes #573.

Developer Questions and Checklist

  • Is this a high priority PR? If so, why and is there a date it needs to be merged by?

Somewhat. The faster this gets merge in the sooner we can deliver to NCO

  • Do you have any planned upcoming annual leave/PTO?

No

  • Are there any changes needed for when the jobs are supposed to run?

No

  • The code changes follow NCO's EE2 Standards.
  • Developer's name is removed throughout the code and have used ${USER} where necessary throughout the code.
  • References the feature branch for HOMEevs are removed from the code.
  • J-Job environment variables, COMIN and COMOUT directories, and output follow what has been defined for EVS.
  • Jobs over 15 minutes in runtime have restart capability.
  • If applicable, changes in the dev/drivers/scripts or dev/modulefiles have been made in the corresponding ecf/scripts and ecf/defs/evs-nco.def?
  • Jobs contain the approriate file checking and don't run METplus for any missing data.
  • Code is using METplus wrappers structure and not calling MET executables directly.
  • Log is free of any ERRORs or WARNINGs.

Testing Instructions

Set-up

  1. Clone my fork and checkout branch bugfix/global_det_units
  2. ln -sf /lfs/h2/emc/vpppg/noscrub/emc.vpppg/verification/EVS_fix fix
  3. Uncomment evs_ver in versions/run.ver.

global_det atmos plots

  1. cd dev/drivers/scripts/plots/global_det
  2. Run the following: jevs_global_det_atmos_grid2grid_means_plots_31days.sh, jevs_global_det_atmos_grid2grid_precip_plots_31days.sh, jevs_global_det_atmos_grid2grid_pres_levs_plots_31days.sh, jevs_global_det_atmos_grid2grid_sea_ice_plots_31days.sh, jevs_global_det_atmos_grid2grid_snow_plots_31days.sh, jevs_global_det_atmos_grid2grid_sst_plots_31days.sh, jevs_global_det_atmos_grid2obs_pres_levs_plots_31days.sh, jevs_global_det_atmos_grid2obs_ptype_plots_31days.sh, jevs_global_det_atmos_grid2obs_sfc_plots_31days.sh, and jevs_global_det_atmos_headline_plots.sh.
  • Set HOMEevs to the location of the clone.
  • Set COMIN to /lfs/h1/ops/prod/com/$NET/$evs_ver_2d
  • Let me know when you are about to run and we can adjust VDATE_END if needed

@malloryprow malloryprow added the bug Something isn't working label Oct 3, 2024
@malloryprow malloryprow added this to the EVS v1.0.unit_fix milestone Oct 3, 2024
@malloryprow malloryprow linked an issue Oct 3, 2024 that may be closed by this pull request
Copy link
Contributor

@AliciaBentley-NOAA AliciaBentley-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have compared this PR to the previous unit fix PR that was merged into develop. This PR doesn't include the changes to ush/global_det/global_det_atmos_long_term_util.py, which is expected because the long-term plot scripts aren't included in prod EVS. Everything else looks consistent. I approve this PR for merge after it is tested. Thanks!

@malloryprow @PerryShafran-NOAA

@PerryShafran-NOAA
Copy link
Contributor

@malloryprow I'm sure you won't see these until tomorrow. It's late in the day (after 3 pm) so I'm guessing we wouldn't have to adjust VDATE_END, or anything like that. Just wanted to get this started if you return to work tomorrow.

@PerryShafran-NOAA
Copy link
Contributor

The .o files will be located here: /lfs/h2/emc/vpppg/noscrub/perry.shafran/pr581test/EVS/dev/drivers/scripts/plots/global_det

And the plot tarballs will be here: /lfs/h2/emc/ptmp/perry.shafran/evs/v1.0/plots/global_det, atmos.20241007 and headline.20241007

@malloryprow
Copy link
Contributor Author

Going to get this sent up to EMCRZDM to the test website to review this morning.

@PerryShafran-NOAA
Copy link
Contributor

Thank you! Don't forget to sync fork while you're doing that.

@malloryprow
Copy link
Contributor Author

This one should be good since it isn't off develop.

@PerryShafran-NOAA
Copy link
Contributor

oh wait, never mind, this isn't a develop PR, you don't need to sync.

@malloryprow
Copy link
Contributor Author

Ah, realizing that since the plots are a few days old I can't compare to the ops plots now. I want to make sure we get this right. Can we re-run for VDATE_END=20241008?

@PerryShafran-NOAA
Copy link
Contributor

Yup, will do.

@PerryShafran-NOAA
Copy link
Contributor

@malloryprow Most jobs are finished, with just two more jobs still ongoing. You can start checking out some of the tar files.

@malloryprow
Copy link
Contributor Author

✅ headline is good. atmos will take a little longer to untar everything and then review. Will update when that is done.

@malloryprow
Copy link
Contributor Author

✅ atmos is good.

@PerryShafran-NOAA
Copy link
Contributor

Excellent! Let me then do the code check and then merge.

Copy link
Contributor

@PerryShafran-NOAA PerryShafran-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code works as expected. Approved for merge.

@PerryShafran-NOAA PerryShafran-NOAA merged commit 05fc676 into NOAA-EMC:release/evs.1.0.unit_fix Oct 10, 2024
@malloryprow malloryprow deleted the bugfix/global_det_units branch October 11, 2024 16:03
@malloryprow malloryprow modified the milestones: EVS v1.0.15, EVS v1.0.16 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

global_det: Fix plots unit conversion for operations
3 participants